package lumis.content.metadata;

import java.sql.Timestamp;

/**
 *	MetaData entity class
 *
 *	@since 4.0.0
 *	@version $Revision: 9601 $ $Date: 2008-07-18 15:38:17 -0300 (Fri, 18 Jul 2008) $
 *
 *  @deprecated since 4.2.0, replaced by the entities available in
 *  {@link lumis.content.core}.
 */
@Deprecated
public class MetaDataConfig
{
	java.util.Date dateNow = new java.util.Date();
	
    private String id = null;
    private String itemId = null;
    private String primaryName = null;
    private String languageContentId = null;
    private String languageId = null;
    private String versionContentId = null;
    private boolean published = false;
    private boolean waitingForPublishing = false;
    private boolean waitingForExpiration = false;
    private String serviceId = null;
    private String serviceInstanceId = null;
    private String parentServiceInstanceId = null;
    private String sourceId = null;
    private String createdBy = null;
    private String lastModifiedBy = null;
    private Timestamp createdDateTime = new Timestamp(dateNow.getTime());
    private Timestamp lastModifiedDateTime = new Timestamp(dateNow.getTime());
    private Timestamp publishStartDateTime = null;
    private Timestamp publishEndDateTime = null;
    private Timestamp highlightEndDateTime = null;
    private boolean highlight = false;
    
    // TODO: Include publishToPrincipals, language, workflow and publishing info on MetaDataConfig (?)
    
	public String getId()
	{
		return id;
	}
	public void setId(String id)
	{
		this.id = id;
	}
	
	public String getItemId()
	{
		return itemId;
	}
	public void setItemId(String itemId)
	{
		this.itemId = itemId;
	}
	
	public String getPrimaryName()
	{
		return primaryName;
	}
	public void setPrimaryName(String primaryName)
	{
		this.primaryName = primaryName;
	}

	public boolean isPublished()
	{
		return published;
	}
	public void setPublished(boolean published)
	{
		this.published = published;
	}
	
	public boolean isWaitingForExpiration()
	{
		return waitingForExpiration;
	}
	public void setWaitingForExpiration(boolean waitingForExpiration)
	{
		this.waitingForExpiration = waitingForExpiration;
	}
	
	public boolean isWaitingForPublishing()
	{
		return waitingForPublishing;
	}
	public void setWaitingForPublishing(boolean waitingForPublishing)
	{
		this.waitingForPublishing = waitingForPublishing;
	}
	
	public String getServiceId()
	{
		return serviceId;
	}
	public void setServiceId(String serviceId)
	{
		this.serviceId = serviceId;
	}
	
	public String getServiceInstanceId()
	{
		return serviceInstanceId;
	}
	public void setServiceInstanceId(String serviceInstanceId)
	{
		this.serviceInstanceId = serviceInstanceId;
	}
	
	public String getParentServiceInstanceId()
	{
		return parentServiceInstanceId;
	}
	public void setParentServiceInstanceId(String parentServiceInstanceId)
	{
		this.parentServiceInstanceId = parentServiceInstanceId;
	}
	
	public String getSourceId()
	{
		return sourceId;
	}
	public void setSourceId(String sourceId)
	{
		this.sourceId = sourceId;
	}
	
	public String getCreatedBy()
	{
		return createdBy;
	}
	public void setCreatedBy(String createdBy)
	{
		this.createdBy = createdBy;
	}
	
	public String getLastModifiedBy()
	{
		return lastModifiedBy;
	}
	public void setLastModifiedBy(String lastModifiedBy)
	{
		this.lastModifiedBy = lastModifiedBy;
	}
	
	public Timestamp getCreatedDateTime()
	{
		return createdDateTime;
	}
	public void setCreatedDateTime(Timestamp createdDateTime)
	{
		this.createdDateTime = createdDateTime;
	}
	
	public Timestamp getLastModifiedDateTime()
	{
		return lastModifiedDateTime;
	}
	public void setLastModifiedDateTime(Timestamp lastModifiedByDateTime)
	{
		this.lastModifiedDateTime = lastModifiedByDateTime;
	}
	
	public Timestamp getPublishStartDateTime()
	{
		return publishStartDateTime;
	}
	public void setPublishStartDateTime(Timestamp publishStartDate)
	{
		this.publishStartDateTime = publishStartDate;
	}
	
	public Timestamp getPublishEndDateTime()
	{
		return publishEndDateTime;
	}
	public void setPublishEndDateTime(Timestamp publishEndDate)
	{
		this.publishEndDateTime = publishEndDate;
	}
	
	public Timestamp getHighlightEndDateTime()
	{
		return highlightEndDateTime;
	}
	public void setHighlightEndDateTime(Timestamp highlightEndDateTime)
	{
		this.highlightEndDateTime = highlightEndDateTime;
	}
	
	public boolean isHighlight()
	{
		return highlight;
	}
	public void setHighlight(boolean highlight)
	{
		this.highlight = highlight;
	}
	
	public String getLanguageContentId()
	{
		return languageContentId;
	}
	public void setLanguageContentId(String languageContentId)
	{
		this.languageContentId = languageContentId;
	}
	
	public String getLanguageId()
	{
		return languageId;
	}
	public void setLanguageId(String languageId)
	{
		this.languageId = languageId;
	}
	
	public String getVersionContentId()
	{
		return versionContentId;
	}
	public void setVersionContentId(String versionContentId)
	{
		this.versionContentId = versionContentId;
	}
}